{"ast":null,"code":"var _jsxFileName = \"/Users/iliyagladkov/Documents/projects/to-do-list/src/components/UI/MyModal/MyModal.jsx\";\nimport React from 'react';\nimport MyInput from '../input/MyInput';\nimport MyButtonAdd from './MyButtonAdd';\nimport cl from './MyModal.module.css';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport default function MyModal(_ref) {\n  let {\n    visible,\n    setVisible\n  } = _ref;\n  const rootClasses = [cl.myModal];\n  if (visible) {\n    rootClasses.push(cl.active);\n  }\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: rootClasses.join(' '),\n    onClick: () => setVisible(false),\n    children: /*#__PURE__*/_jsxDEV(\"div\", {\n      className: cl.myModalContent,\n      onClick: e => e.stopPropagation(),\n      children: /*#__PURE__*/_jsxDEV(\"form\", {\n        children: [/*#__PURE__*/_jsxDEV(MyInput, {\n          typeInput: \"date\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 18,\n          columnNumber: 11\n        }, this), /*#__PURE__*/_jsxDEV(MyInput, {\n          typeInput: \"text\",\n          placeHolderText: \"This is title...\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 19,\n          columnNumber: 11\n        }, this), /*#__PURE__*/_jsxDEV(MyInput, {\n          typeInput: \"text\",\n          placeHolderText: \"This is description...\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 20,\n          columnNumber: 11\n        }, this), /*#__PURE__*/_jsxDEV(MyButtonAdd, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 21,\n          columnNumber: 11\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 17,\n        columnNumber: 9\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 16,\n      columnNumber: 7\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 15,\n    columnNumber: 5\n  }, this);\n}\n_c = MyModal;\nvar _c;\n$RefreshReg$(_c, \"MyModal\");","map":{"version":3,"names":["React","MyInput","MyButtonAdd","cl","MyModal","visible","setVisible","rootClasses","myModal","push","active","join","myModalContent","e","stopPropagation"],"sources":["/Users/iliyagladkov/Documents/projects/to-do-list/src/components/UI/MyModal/MyModal.jsx"],"sourcesContent":["import React from 'react'\nimport MyInput from '../input/MyInput'\nimport MyButtonAdd from './MyButtonAdd'\nimport cl from './MyModal.module.css'\n\nexport default function MyModal({visible, setVisible}) {\n\n  const rootClasses = [cl.myModal]\n\n  if(visible) {\n      rootClasses.push(cl.active)\n  }\n\n  return (\n    <div className={rootClasses.join(' ')} onClick={() => setVisible(false)}>\n      <div className={cl.myModalContent} onClick={(e) => e.stopPropagation()}>\n        <form>\n          <MyInput typeInput='date'/>\n          <MyInput typeInput='text' placeHolderText='This is title...'/>\n          <MyInput typeInput='text' placeHolderText='This is description...'/>\n          <MyButtonAdd></MyButtonAdd>\n        </form>\n      </div>\n    </div>\n  )\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,OAAO,MAAM,kBAAkB;AACtC,OAAOC,WAAW,MAAM,eAAe;AACvC,OAAOC,EAAE,MAAM,sBAAsB;AAAA;AAErC,eAAe,SAASC,OAAO,OAAwB;EAAA,IAAvB;IAACC,OAAO;IAAEC;EAAU,CAAC;EAEnD,MAAMC,WAAW,GAAG,CAACJ,EAAE,CAACK,OAAO,CAAC;EAEhC,IAAGH,OAAO,EAAE;IACRE,WAAW,CAACE,IAAI,CAACN,EAAE,CAACO,MAAM,CAAC;EAC/B;EAEA,oBACE;IAAK,SAAS,EAAEH,WAAW,CAACI,IAAI,CAAC,GAAG,CAAE;IAAC,OAAO,EAAE,MAAML,UAAU,CAAC,KAAK,CAAE;IAAA,uBACtE;MAAK,SAAS,EAAEH,EAAE,CAACS,cAAe;MAAC,OAAO,EAAGC,CAAC,IAAKA,CAAC,CAACC,eAAe,EAAG;MAAA,uBACrE;QAAA,wBACE,QAAC,OAAO;UAAC,SAAS,EAAC;QAAM;UAAA;UAAA;UAAA;QAAA,QAAE,eAC3B,QAAC,OAAO;UAAC,SAAS,EAAC,MAAM;UAAC,eAAe,EAAC;QAAkB;UAAA;UAAA;UAAA;QAAA,QAAE,eAC9D,QAAC,OAAO;UAAC,SAAS,EAAC,MAAM;UAAC,eAAe,EAAC;QAAwB;UAAA;UAAA;UAAA;QAAA,QAAE,eACpE,QAAC,WAAW;UAAA;UAAA;UAAA;QAAA,QAAe;MAAA;QAAA;QAAA;QAAA;MAAA;IACtB;MAAA;MAAA;MAAA;IAAA;EACH;IAAA;IAAA;IAAA;EAAA,QACF;AAEV;AAAC,KApBuBV,OAAO;AAAA;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]}